.table-filters {
    white-space: nowrap;
}

.table-filters-search {
    float: right;
    position: relative;
    padding: 15px 20px;
    background-color: #FFF;
    
    .edit-columns {
        display: none;
        border: none;
        color: $main-color;
        background-color: transparent;
        span {
            font-size: 12px;
            font-weight: 600;
        }
        i {
            font-size: 14px;
        }
    }
    
    form {
        display: inline-block;
        position: relative;
        width: 170px;
    }
    
    input[type="text"] {
        width: 100%;
        height: 30px;
        border: 1px solid $bd-color;
        padding: 0 40px 0 10px;
        font-size: 14px;
        @include borderRadius();
        @include boxSizing(border-box);
    }
    .submit-search {
        position: absolute;
        top: 0;
        right: 0;
        border: none;
        width: 40px;
        height: 30px;
        font-size: 14px;
        color: $black;
        background-color: transparent;
    }
}

.table-filters-custom {
    padding: 15px 20px;
    .main-color-btn {
        vertical-align: top;
    }
    .open-mobile-filters {
        display: inline-block;
    }
    .new-custom-filter {
        display: none;
    }
    p {
        display: none;
        margin-left: 10px;
        font-size: 13px;
    }
}

.active-filters {
    display: none;
    padding-left: 15px;
    vertical-align: top;
    label {
        display: inline-block;
        font-size: 14px;
        line-height: 30px;
        font-weight: 700;
    }
        
    .attribute {
        margin: 0 5px;
        border: 1px solid $bd-color;
        padding: 0 10px;
        font-size: 14px;
        line-height: 28px;
        font-weight: 600;
        vertical-align: top;
        background-color: $bg-color;
        @include borderRadius();
    }
    .operator {
        border: 1px dashed $main-color;
        padding: 0;
        width: 30px;
        height: 30px;
        line-height: 28px;
        font-size: 11px;
        color: $main-color;
        background-color: #F8FAFA;
        text-align: center;
        vertical-align: top;
        @include boxSizing(border-box);
        @include borderRadius();
        &.and:before {
            content: 'and';
        }
        &.or:before {
            content: 'or';
        }
    }
}

@media screen and (min-width: $vw-small){
    .table-filters-search {
        .edit-columns {
            display: inline-block;
        }
    }
    .table-filters-custom {
        .open-mobile-filters {
            display: none;
        }
        .new-custom-filter {
            display: inline-block;
        }
    }
    .active-filters {
        display: inline-block;
    }
}
@media screen and (min-width: $vw-large){
    .table-filters-custom {
        p {
            display: inline-block;
        }
    }
}